package org.example.commonapi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 课程作业
 * @TableName course_assignments
 */
@TableName(value ="course_assignments")
@Data
public class CourseAssignments implements Serializable {
    /**
     * 课程作业id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 课程Id
     */
    private Long courseId;

    /**
     * 作业名称
     */
    private String name;

    /**
     * 开始时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}